﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;

namespace rlab.presentation
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            using ( Main frm = new Main() )
            {
                if ( !frm.InitializeGraphics() )
                {
                    MessageBox.Show( "Could not initialize Direct3D." );
                    return;
                }
                frm.Show();

                while ( frm.Created )
                {
                    frm.Render();
                    Application.DoEvents();
                }
            }
        }
    }
}
